<h1>Confirm profile</h1>
<p style="color: red"><%= flash[:notice] %></p> 
<%= render :partial=>"view_profile" %>

<% form_tag :action=>'edit' do %>
  <%= hidden_field_tag "id", @person.id -%>
  <%= submit_tag "Yes" -%>
<% end %>
<% form_tag :action=>'save' do %>
  <% session[:form_vars][:person].each do | field, val |%>
    <%= hidden_field_tag "person[#{field}]", val %>
  <% end %>
  <%= hidden_field_tag "force", "1" %>
  <%= hidden_field_tag "person[id]", "" %>
  <%= submit_tag "No"%>
<% end %>